package model;

import com.et.ar.ActiveRecordBase;
import com.et.ar.annotations.Column;
import com.et.ar.annotations.Id;
import com.et.ar.annotations.Table;
import com.wzzz.cache.CacheHandler;

@Table(name = "T_CASE_GRID_INFO")
public class CaseGridInfo extends ActiveRecordBase {
	@Id public String grid_id					;//保管柜格子ID    
	@Column public String grid_num        ;//保管柜格子编号  
	@Column public String grid_status     ;//格子状态        
	@Column public String grid_create_date;//格子创建时间    
	@Column public String grid_create_man ;//格子创建人员    
	@Column public String grid_keep_date  ;//格子占用时间    
	@Column public String grid_ckeep_date ;//格子取消占用时间
	@Column public String is_using        ;//格子是否启用    
	@Column public String shelf_id        ;//保管柜ID
	public String getGrid_id() {
		return grid_id;
	}
	public void setGrid_id(String grid_id) {
		this.grid_id = grid_id;
	}
	public String getGrid_num() {
		return grid_num;
	}
	public void setGrid_num(String grid_num) {
		this.grid_num = grid_num;
	}
	public String getGrid_status() {
		return grid_status;
	}
	public void setGrid_status(String grid_status) {
		this.grid_status = grid_status;
	}
	public String getGrid_create_date() {
		return grid_create_date;
	}
	public void setGrid_create_date(String grid_create_date) {
		this.grid_create_date = grid_create_date;
	}
	public String getGrid_create_man() {
		return grid_create_man;
	}
	public void setGrid_create_man(String grid_create_man) {
		this.grid_create_man = grid_create_man;
	}
	public String getGrid_keep_date() {
		return grid_keep_date;
	}
	public void setGrid_keep_date(String grid_keep_date) {
		this.grid_keep_date = grid_keep_date;
	}
	public String getGrid_ckeep_date() {
		return grid_ckeep_date;
	}
	public void setGrid_ckeep_date(String grid_ckeep_date) {
		this.grid_ckeep_date = grid_ckeep_date;
	}
	public String getIs_using() {
		return is_using;
	}
	
	public String getIs_usingDesc() {
		if (is_using != null) {
			return CacheHandler.getDicDesc("10", is_using);
		}
		return is_using;
	}
	
	public void setIs_using(String is_using) {
		this.is_using = is_using;
	}
	public String getShelf_id() {
		return shelf_id;
	}
	public void setShelf_id(String shelf_id) {
		this.shelf_id = shelf_id;
	}
	
	
	
}
